import { INDEX_COLUMN } from "@/config";
export const fields = [
  {
    type: "Input",
    formItemProps: {
      name: "username",
      label: `账号`,
    },
  },
  {
    type: "RangePicker",
    formItemProps: {
      name: "Time",
      label: "时间",
    },
  },
]

export const columns = [
  {
    key: INDEX_COLUMN,
    title: "序号",
    render: (value, record, index) => index + 1,
    width: 70,
  },
  {
    title: "账号",
    dataIndex: "username",
  },
  {
    title: "操作时间",
    dataIndex: "operationTime",
  },
  {
    title: "操作类型",
    dataIndex: "operationType",
  },
  {
    title: "来源",
    dataIndex: "source",
  },
  {
    title: "操作内容",
    dataIndex: "operationContent",
  }
]
